<template>
    <view>swiper滑动视图</view>
    <swiper :indicator-dots="showdots" :autoplay=a"uto" :interval="interval" duration="duration">
        <swiper-item>
            <view class="bg-blue item">A</view>
        </swiper-item>
        <swiper-item>
            <view class="bg-green item">B</view>
        </swiper-item>
        <swiper-item>
            <view class="bg-red item">C</view>
        </swiper-item>
    </swiper>
</template>

<script>
    export default{
        data(){
            return {
                showdots: true,
                auto: true,
                interval: 5000,
                duration: 500
            }
        },
        methods:{
            
        }
    }
</script>